package net.simflow.swf.analyzer.data;

import org.eclipse.swt.graphics.Color;
import org.eclipse.wb.swt.SWTResourceManager;

public class ColorPkg {
	public static final java.awt.Color TRANSPARENT = new java.awt.Color(0, 0,
			0, 0);
	public static final java.awt.Color RED = new java.awt.Color(0xFF0000);
	public static final java.awt.Color GREEN = new java.awt.Color(0x00FF00);
	public static final java.awt.Color BLUE = new java.awt.Color(0x0000FF);
	public static final java.awt.Color YELLOW = new java.awt.Color(0xFFFF00);
	public static final java.awt.Color ORANGE = new java.awt.Color(0xFF8000);
	public static final java.awt.Color DARK_RED = new java.awt.Color(0x800000);
	public static final java.awt.Color DARK_GREEN = new java.awt.Color(0x008000);
	public static final java.awt.Color DARK_BLUE = new java.awt.Color(0x000080);
	public static final java.awt.Color DARK_YELLOW = new java.awt.Color(
			0x808000);
	public static final java.awt.Color DARK_ORANGE = new java.awt.Color(
			0x804000);
	public static final java.awt.Color BLACK = new java.awt.Color(0);
	public static final java.awt.Color WHITE = new java.awt.Color(0xFFFFFF);

	static public Color getColor(java.awt.Color color) {
		return SWTResourceManager.getColor(color.getRed(), color.getGreen(),
				color.getBlue());
	}
}
